/*
 * @Author: Automator
 * @Date: 2018-05-22 18:19:08
 * @description: 
*/

 const  api = {

     /*
     * 方法描述:推广位列表,请求方式:GET,参数:advertiseSearchDto,返回值:PageResult<AdvertiseVo>,是否可用:ok
     * @param pageParam.pageIndex    Required:[false]  Type:[integer]  Location:[query]
     * @param pageParam.pageSize    Required:[false]  Type:[integer]  Location:[query]
     * @param title  标题  Required:[false]  Type:[string]  Location:[query]
     * @param adSpaceType  广告位类型 1 顶部广告位 2 尾部广告位 3 移动端欢迎页  Required:[false]  Type:[integer]  Location:[query]
     * @param adState  广告状态 1 启用 2 禁用  Required:[false]  Type:[integer]  Location:[query]
     * @param cvsPubChannel  cvs发布渠道 1移动端 2 PC端  Required:[false]  Type:[integer]  Location:[query]
     * @param startModifyTime  开始操作时间 yyyy-MM-dd HH:mm:ss  Required:[false]  Type:[string]  Location:[query]
     * @param endModifyTime  结束操作时间 yyyy-MM-dd HH:mm:ss  Required:[false]  Type:[string]  Location:[query]
     */
    'eventExitPage': {url: '/cms/v2/api/advertise/page', method: 'get'},

     /*
     * 方法描述:添加推广位,请求方式:POST,参数:advertiseDto,返回值:JsonResult<Long>,是否可用:ok
     * @param advertiseDto  advertiseDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'saveAdvertise': {url: '/cms/v2/api/advertise', method: 'post'},

     /*
     * 方法描述:编辑推广位,请求方式:PUT,参数:advertiseDto,返回值:JsonResult,是否可用:ok
     * @param advertiseDto  advertiseDto  Required:[true]  Type:[]  Location:[body]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'updateAdvertise': {url: '/cms/v2/api/advertise', method: 'put'},

     /*
     * 方法描述:推广位详情,请求方式:GET,参数:id,返回值:JsonResult,是否可用:ok
     * @param id  id  Required:[true]  Type:[integer]  Location:[path]
     */
    'getAdvertiseById': {url: '/cms/v2/api/advertise/{id}', method: 'get'},

     /*
     * 方法描述:删除推广位,请求方式:DELETE,参数:id,返回值:JsonResult,是否可用:ok
     * @param id  id  Required:[true]  Type:[integer]  Location:[path]
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'deleteAdvertise': {url: '/cms/v2/api/advertise/{id}', method: 'delete'}

};

 export default api;
